﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Tradex.Market;

namespace Tradex.Trading {
    
    /// <summary>
    /// The OrderBook class can be used to construct a live order book tracking and invalidating bids and asks as they
    /// pass through the system. It offers various access methods to the stored data:
    /// * As enumerable, from a snapshot of the data at the time the enumerator is created.
    /// * Through get and set properties, but for this the price is neeed (so this method can be used to retrieve a
    /// specific bid or ask volume, but not to get all available bids/asks).
    /// </summary>
    public sealed class OrderBook {

        /// <summary>
        /// Gets all the bids in he order book.
        /// </summary>
        public IEnumerable<MarketUpdate> Bids {
            get { return null; }
        }

        /// <summary>
        /// Gets all the asks in the order book.
        /// </summary>
        public IEnumerable<MarketUpdate> Asks {
            get { return null; }
        }

    }

}
